package com.mcm.lstudy.entity;

public class Comment {
	int cmid;
	int vid;
	int uid;
	String cmcontent;
	int cmrp;
	int cmstatus;
	String cmdatetime;

	public Comment(int cmid, int vid, int uid, String cmcontent, int cmrp, int cmstatus, String cmdatetime) {
		super();
		this.cmid = cmid;
		this.vid = vid;
		this.uid = uid;
		this.cmcontent = cmcontent;
		this.cmrp = cmrp;
		this.cmstatus = cmstatus;
		this.cmdatetime = cmdatetime;
	}

	public Comment() {
		// TODO Auto-generated constructor stub
	}

	public Comment(int vid, int uid, String cmcontent, int cmrp, int cmstatus, String cmdatetime) {
		super();
		this.vid = vid;
		this.uid = uid;
		this.cmcontent = cmcontent;
		this.cmrp = cmrp;
		this.cmstatus = cmstatus;
		this.cmdatetime = cmdatetime;
	}


	public int getCmid() {
		return cmid;
	}

	public void setCmid(int cmid) {
		this.cmid = cmid;
	}

	public int getVid() {
		return vid;
	}

	public void setVid(int vid) {
		this.vid = vid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getCmcontent() {
		return cmcontent;
	}

	public void setCmcontent(String cmcontent) {
		this.cmcontent = cmcontent;
	}

	public int getCmrp() {
		return cmrp;
	}

	public void setCmrp(int cmrp) {
		this.cmrp = cmrp;
	}

	public int getCmstatus() {
		return cmstatus;
	}

	public void setCmstatus(int cmstatus) {
		this.cmstatus = cmstatus;
	}

	public String getCmdatetime() {
		return cmdatetime;
	}

	public void setCmdatetime(String cmdatetime) {
		this.cmdatetime = cmdatetime;
	}

	@Override
	public String toString() {
		return "comment [cmid=" + cmid + ", vid=" + vid + ", uid=" + uid + ", cmcontent=" + cmcontent + ", cmrp=" + cmrp
				+ ", cmstatus=" + cmstatus + ", cmdatetime=" + cmdatetime + "]";
	}

}
